package com.yitiao.config;

import com.alibaba.csp.sentinel.slots.block.BlockException;

public class CustomBlockExceptionHandler extends RuntimeException{

    public static String userTestHandler(BlockException blockException){
        throw new CustomBlockExceptionHandler("this is custom UserTest handler.");
    }

    public CustomBlockExceptionHandler(String message) {
        super(message);
    }
}
